<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.2.4/gsap.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
    <style>
      .box {
        width: 200px;
        height: 200px;
        background-color: hsla(180, 100%, 50%, 0.7);
      }
      .box2 {
        width: 100px;
        height: 100px;
        background-color: red;
      }
      .box3 {
        width: 50px;
        height: 50px;
        background-color: blue;
      }
    </style>
  </head>
  <body>
    <div id="animated-number-demo">
      <input v-model.number="number" type="number" step="20" />
      <p>{{ tweenedNumber }}</p>
      <button @click="handle"></button>
      <img src="./2.gif" alt="" />
    </div>
    <div id="label">
      <input type="radio" name="sex" />1 <input type="radio" name="sex" />2
      <input type="radio" name="sex" />3
    </div>
    <div class="box">
      <div class="box2">
        <div class="box3"></div>
      </div>
    </div>
    <div role="hezi"></div>
    <div role="hezi"></div>
    <div role="xzi"></div>
    <div role="xzi"></div>
    <div role="xzi"></div>
    <button id="btn">改变数据</button>
    <script>
      let div_hezi = document.querySelectorAll("[role=hezi]");
      let div_xzi = document.querySelectorAll("[role=xzi]");
      let btn = document.getElementById("btn");
      btn.onclick = function () {
        document.querySelector(".box3").innerHTML = Math.random();
      };
      let arr = [];
      arr = [].map.call(div_hezi, (val, index) => {
        val.setAttribute("data-index", index);
        return val;
      });
    </script>
  </body>
</html>
